// 资源操作
export enum Auth {
  // ===================================================================== 企业成员管理
  assignUserPermission = 'iam:AssignUserPermission',

  // ===================================================================== 协议管理
  queryAgreement = "agreement:QueryAgreement",
  saveAgreement = "agreement:SaveAgreement",
  updateAgreement = "agreement:UpdateAgreement",
  deleteAgreement = "agreement:DeleteAgreement",
  
  // ===================================================================== 支付
  queryBillCheckBatch = "pay:QueryBillCheckBatch",
  updateBillCheckBatch = "pay:UpdateBillCheckBatch",
  refreshBillCheck = "pay:RefreshCheckBatch",
  queryBillCheckDiff = "pay:QueryBillCheckDiff",
  deleteBillCheckDiff = "pay:DeleteBillCheckDiff",
  queryChannelBill = "pay:QueryChannelBill",
  deleteChannelBill = "pay:DeleteChannelBill",
  queryMchQrcodeTemplate = "mchQrcode:QueryTemplate",
  saveMchQrcodeTemplate = "mchQrcode:SaveTemplate",
  updateMchQrcodeTemplate = "mchQrcode:UpdateTemplate",
  deleteMchQrcodeTemplate = "mchQrcode:DeleteTemplate",
  queryMchQrcode = "mchQrcode:QueryMchQrcode",
  saveMchQrcode = "mchQrcode:SaveMchQrcode",
  updateMchQrcode = "mchQrcode:UpdateMchQrcode",
  deleteMchQrcode = "mchQrcode:DeleteMchQrcode",
  // ===================================================================== 商城商品
  saveShopGoods = "shopGoods:SaveGoods",
  deleteShopGoods = "shopGoods:DeleteGoods",

  // ===================================================================== 权限审批
  queryPermissionApply = 'iam:QueryPermissionApply',
  savePermissionApply = 'iam:SavePermissionApply',
  updatePermissionApply = 'iam:UpdatePermissionApply',
  deletePermissionApply = 'iam:DeletePermissionApply',

  queryRamPermissionPolicy = 'iam:QueryRamPermissionPolicy',
  saveRamPermissionPolicy = 'iam:SaveRamPermissionPolicy',
  updateRamPermissionPolicy = 'iam:UpdateRamPermissionPolicy',
  deleteRamPermissionPolicy = 'iam:DeleteRamPermissionPolicy',

  // ===================================================================== 事件总线
  queryEvbPublisher = 'eventBus:QueryPublisher',
  saveEvbPublisher = 'eventBus:SavePublisher',
  updateEvbPublisher = 'eventBus:UpdatePublisher',
  deleteEvbPublisher = 'eventBus:DeletePublisher',
  queryEvbTopic = 'eventBus:QueryTopic',
  saveEvbTopic = 'eventBus:SaveTopic',
  updateEvbTopic = 'eventBus:UpdateTopic',
  deleteEvbTopic = 'eventBus:DeleteTopic',
  queryEvbSubscriber = 'eventBus:QuerySubscriber',
  saveEvbSubscriber = 'eventBus:SaveSubscriber',
  updateEvbSubscriber = 'eventBus:UpdateSubscriber',
  deleteEvbSubscriber = 'eventBus:DeleteSubscriber',
  queryEvbSubscribeManage = 'eventBus:QuerySubscribeManage',
  saveEvbSubscribeManage = 'eventBus:SaveSubscribeManage',
  updateEvbSubscribeManage = 'eventBus:UpdateSubscribeManage',
  deleteEvbSubscribeManage = 'eventBus:DeleteSubscribeManage',
  queryEvbNotifyRecord = 'eventBus:QueryNotifyRecord',
  saveEvbNotifyRecord = 'eventBus:SaveNotifyRecord',
  updateEvbNotifyRecord = 'eventBus:UpdateNotifyRecord',
  deleteEvbNotifyRecord = 'eventBus:DeleteNotifyRecord',

  saveAppAuthScopeConfig = 'iam:SaveAppAuthScopeConfig',
  updateAppAuthScopeConfig = 'iam:UpdateAppAuthScopeConfig',
  deleteAppAuthScopeConfig = 'iam:DeleteAppAuthScopeConfig',

  saveSysConfigTmpl = 'infra:SaveSysConfigTmpl',
  updateSysConfigTmpl = 'infra:UpdateSysConfigTmpl',
  deleteSysConfigTmpl = 'config:DeleteSysConfigTmpl',

  saveDept = 'iam:SaveDept',
  updateDept = 'iam:UpdateDept',
  deleteDept = 'iam:DeleteDept',
}
